Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnitRefIterator


Next

The Next method obtains a copy of the next persistent reference, if it exists, in the currently focused value of the storage unit.

void Next (out ODStorageUnitRef ref);
ref
A copy of the next persistent reference in the currently focused value of the storage unit. If the focused value contains no persistent references or if the iteration is complete, the return value is undefined.
DISCUSSION
If your part calls this method before calling this storage-unit reference iterator's First method to begin the iteration, then this method works the same as calling the First method.

It is your responsibility to deallocate the returned persistent reference when it is no longer needed.

EXCEPTIONS
kODErrIteratorOutOfSync
The focused value was modified while the iteration was in progress.
SEE ALSO
The ODStorageUnitRef type (page 903).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help